package zuoye05;

public class hm7_shi_er {
	public static void main(String[] args) {
		String str=toStringpri(234);
		System.out.println(str);
	}
	private static String toStringpri(int number){
		StringBuilder sb=new StringBuilder();
		while(true){
			if(number ==0){
				break;
				
			}
			int yushu=number%2;
			sb.insert(0, yushu);
			number=number/2;
			
		}
		return sb.toString();
	}
}
